<div class="wrapper">
    <scroller class="scroll-box" show-scrollbar="false">
        <div v-for="record in recordList" :class="['box',record.author_type==2?'box-active-yellow':record.author_type==3?'box-active-red':'box-common']">
            <div class="box-item">
                <text :class="['box-txt',record.author_type==2||record.author_type==3?'box-txt-active':'box-txt-common']" v-if="record.author && record.r_title">{{record.author}}{{record.r_title}}</text>
                <text :class="['box-txt',record.author_type==2||record.author_type==3?'box-txt-active':'box-txt-common']" v-if="record.addtime">{{record.addtime}}</text>
            </div>

            <div class="box-item" v-if="record.r_remark && (record.r_remark.remark1 || record.r_remark.remark2)">
                <text :class="['box-txt',record.author_type==2||record.author_type==3?'box-txt-active':'box-txt-common']" v-if="record.r_remark.remark1">{{record.r_remark.remark1}}</text>
                <text :class="['box-txt',record.author_type==2||record.author_type==3?'box-txt-active':'box-txt-common']" v-if="record.r_remark.remark2">{{record.r_remark.remark2}}</text>
            </div>

            <div class="box-item box-item-des" v-if="record.r_remark && record.r_remark.remark3">
                <text :class="['box-txt',record.author_type==2||record.author_type==3?'box-txt-active':'box-txt-common']">描述：</text>

                <div class="des-box">
                    <text :class="['box-txt','des-box-text',record.author_type==2||record.author_type==3?'box-txt-active':'box-txt-common']">{{record.r_remark.remark3}}</text>
                </div>
            </div>
        </div>
    </scroller>

    <div class="footer" v-if="pageLoaded && goods.r_status!='已取消' && goods.r_status!='退款中' && goods.r_status!='已退款'">
        <!--<oder-btn v-if="goods.r_status=='卖家拒绝' && goods.is_sendgoods == 0" width=200 height=60 fontSize=30 @btnClick="updateApplyRefund">修改申请</oder-btn>-->
        <order-btn v-if="goods.is_sendgoods == 0" width=200 height=60 fontSize=30 @btnClick="updateApplyRefund">修改申请</order-btn>
        <order-btn v-if="goods.r_status=='待邮寄'" width=200 height=60 fontSize=30 @btnClick="returnGoods">退货</order-btn>
        <order-btn v-if="goods.can_cancel != 0" width=200 height=60 borderColor="#e31336" color="#e31336" fontSize=30 @btnClick="cancelApplyRefund">撤销申请</order-btn>
    </div>
</div>
